import { request, HttpMethod, restartTimes, RequestConfig } from './request'

export const addUserFeedBack = (data: object) => {
  const config = <RequestConfig>{
    url: '/patient/userFeedback',
    method: HttpMethod.POST,
    data: data,
  }
  return request(config);
}